package com.study.mapper;

import com.study.entity.InfoCount;
import com.study.entity.Student;
import com.study.entity.StudentQueryParam;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentMapper {
    void add(Student student);

    List<Student> list(StudentQueryParam param);

    void delete(Integer id);

    Student getById(Integer id);

    void update(Student student);

    List<InfoCount> degreeCount();
}
